import Vue from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import 'vant/lib/index.css';
import './libs/filters';
import '@/assets/css/base.less';
import * as VantComponents from './libs/components';

Object.keys(VantComponents).forEach((name) => {
  Vue.use(VantComponents[name]);
});

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app');
